home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 8 / Eagles_Nest_Mac_Collection_Disc_8.TOAST / Developer Tools⁄Additions / ThPas40->401 / About TCL 1.1.2 next >
Encoding:
Text File  |  1992-01-15  |  4.6 KB  |  152 lines  |  [TEXT/ttxt]

  1. ABOUT THINK CLASS LIBRARY 1.1.2 
  2. ===============================
  3. Copyright © 1992 Symantec Corporation. All rights reserved.
  4. January 9, 1992
  5. Font: Geneva 12
  6.  
  7. INTRODUCTION
  8. =============
  9. The THINK Class Library 1.1.2 fixes some bugs in the THINK Class Library 
  10. 1.1, included with THINK Pascal 4.0. 
  11.  
  12. This document has two more sections:
  13.  
  14.     •  UPDATING THINK CLASS LIBRARY tells you how to run 
  15.         “TCL/Pascal 1.1.2 Update.sea” to update your THINK Class 
  16.         Library to 1.1.2.
  17.  
  18.     •  LAST MINUTE CHANGES contains a correction to the Object-
  19.         Oriented Programming Manual.
  20.  
  21.  
  22. UPDATING THINK CLASS LIBRARY
  23. ==============================
  24. The application “TCL/Pascal 1.1.2 Update.sea” transforms your existing  
  25. THINK Class Library from version 1.1 to 1.1.2. It replaces 25 files in the  
  26. THINK Class Library. For a list of the files, see “What this update replaces”  
  27. below. This update uses a self-extracting archive, an application that  
  28. contains compressed files which it decompresses and installs on your hard 
  29. disk. 
  30.  
  31.    1. Make sure that you have a copy of the original THINK Class
  32.        Library. You won't need it for this update, but you should make
  33.        sure that you have a backup in case the update fails. Do not 
  34.        patch your original master disk.
  35.        
  36.     2. Make sure that you haven’t changed the names of any of the
  37.         folders. If the update can’t find a folder with exactly the right
  38.         name, it will create a new folder to put its files in, and it  
  39.         won’t update your files. Most importantly, the folder containing 
  40.         all the TCL files must be named “THINK Class Library 1.1” and 
  41.         the folder containing the TCL demos must be named “TCL 1.1 
  42.         Demos”.
  43.    
  44.     3. Double-click on the the application “TCL/Pascal 1.1.2 
  45.         Update.sea.” A dialog appears summarizing what this program 
  46.         does. Click anywhere to continue.
  47.  
  48.     4. A standard file dialog appears. Move to your Development folder  
  49.         and click Extract.
  50.         
  51.     5. A dialog appears telling you that CButton.p already exists.
  52.         Click “Replace ALL Duplicates.”
  53.  
  54.     6. The archive decompresses its files and places them on your hard  
  55.         disk. It displays its progress in a dialog. The archive quits 
  56.         when it’s done.
  57.        
  58.  
  59. WHAT THIS UPDATE REPLACES
  60. ===========================
  61. This update replaces 25 files in the THINK Class Library. Two are 
  62. documentation files, two are code files in the NewClassDemo, and 21 are 
  63. code files in the THINK Class Library.
  64.  
  65. Here are the 21 code files in the “THINK Class Library 1.1” folder, organized  
  66. by folder.
  67.  
  68. In the “Control classes” folder:
  69.      •  CButton.p
  70.      •  CIconPane.p
  71.      •  CPopupMenu.p
  72.      •  CStdPopupPane.p
  73.      •  TCL_Controls.p
  74.      •  CPopupPane.p
  75.      
  76. In the “Core classes” folder
  77.      •  CAbstractText.p
  78.      •  CAppleEvent.p
  79.      •  CApplication.p
  80.      •  CArray.p
  81.      •  CCluster.p
  82.      •  CControl.p
  83.      •  CDirector.p
  84.      •  CEditText.p
  85.      •  CObject.p
  86.      •  CPane.p
  87.      •  CPaneBorder.p
  88.      •  CPanorama.p
  89.      •  CPrinter.p
  90.      •  CRunArray.p
  91.      •  CSizeBox.p
  92.      •  CWindow.p
  93.      •  TCL.p
  94.      •  CDocument.p
  95.      •  CDesktop.p
  96.      
  97. In the “Dialog classes” folder:
  98.     •  CDialog.p
  99.     •  CDLOGDialog.p
  100.     •  TCL_Dialogs.p
  101.     •  CDialogText.p
  102.     
  103. In the “FW/Tearoffs” folder:
  104.     •  CFWDesktop.p
  105.     •  CMenuDefProc.p
  106.     
  107. In the “Table classes” folder:
  108.     •  CArrayPane.p
  109.     •  CTable.c
  110.     •  TCL_Table.c
  111.     
  112. In the “TCL Libs” folder:
  113.     •  Exceptions.c
  114.     •  TCL.lib
  115.     •  TCL.π
  116.     
  117. LAST MINUTE CHANGES
  118. ====================
  119. This section lists some last minute changes and corrections to the THINK 
  120. Pascal Object-Oriented Programming Manual. There are more changes and
  121. corrections in the READ ME file in the “TCL 1.1 Doc” folder.
  122.  
  123. Installing the THINK Class Library
  124. -------------------------------
  125. •  After buidling Starter.π, its size is about 2 megabytes. The size given in 
  126.     the section “Building the Starter Project” is incorrect.
  127.  
  128. CDataFile
  129. ---------
  130. •  On page 265, the example for ReadAll() should look like this, in C:
  131.         Handle theData;
  132.         . . .
  133.         theData = myDataFile->ReadAll();
  134.         . . .
  135.  
  136.     And it should look like this in Pascal:
  137.         var
  138.             theData: Handle;
  139.         begin
  140.             . . .
  141.             theData = myDataFile.ReadAll;
  142.             . . .
  143.         end;
  144.  
  145. CPanorama
  146. ----------
  147. •  On page 375, the declaration for the ScrollTo method should look like 
  148.     this, in C:
  149.         void    ScrollTo( LongPt *aPosition, Boolean redraw );
  150.         
  151.     And like this, in Pascal:
  152.         procedure ScrollTo( aPosition: LongPt; redraw: Boolean );